package day07;

public class ArithmeticTest1 {
    public static void main(String[] args) {
        int num = 1;
        while (true){
            num++;
            if (IfNumber(num)){
                break;
            }
        }
        System.out.println(num);
    }
    public static  boolean IfNumber(int num){
        for (int i = 0; i <5 ; i++) {
            if((num - 1)%5 ==0){
                num = (num - 1)*4/5;
            }else {
                return false;
            }
        }
        return true;
    }
}
